package com.alogic.validator.impl;

import com.alogic.validator.Validator;
import com.anysoft.util.Properties;

/**
 * 空验证器，不做检查
 * @author yyduan
 * @since 1.6.12.11 [20181206 duanyy] <br>
 *
 * @version 1.6.13.17 [20200923 duanyy] <br>
 * - 优化validator接口
 */
public class Null extends Validator.Abstract{
	@Override
	public boolean check(String value, Properties ctx, boolean throwException) {
		return true;
	}

	@Override
	public boolean check(String value, Properties ctx, Listener listener) {
		return true;
	}
}
